package com.Extends;
//程序主要使用了封装的思想，三步走，访问修饰符的使用，set，get的使用
public class Test {
    public static void main(String[] args) {
//        Computer computer = new Computer("intel","金士顿","990pro");
        PC pc = new PC("intel","金士顿","990pro","华硕");
        System.out.println(pc.Print01());
        System.out.println("=============================");
        NotePad notePad = new NotePad("intel","金士顿","990pro","华硕","white");
        System.out.println(notePad.Print02());

    }
}


